<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no">
    <title>欢迎下载</title>
    <link href="//netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
</head>
<style>
    * {
        margin: 0;
        padding: 0;
    }

    body {
        background: #07BEFA url("phone/bg.png") no-repeat;
        background-size: 100%;
    }

    .center {
        width: 85%;
        border-radius: 10px;
        margin: 0 auto;
        /*background: #fff;*/
        padding: 25px;
        box-sizing: border-box;
    }

    .center-header {
        color: #07BEFA;
    }

    .invite-code {
        text-align: center;
        font-size: 30px;
        font-weight: 700;
        color: #07BEFA;
        line-height: 90px;
    }


    .footer {
        text-align: center;
    }

    .download-btn {
        text-decoration: none;
        display: block;
        line-height: 60px;
        width: 65%;
        margin: 20px auto;
        color: #fff;
        border-radius: 35px;
        background: linear-gradient(to right, #02D0E3, #07BEF9); /* 标准的语法 */
        box-shadow: 10px 11px 46px 0px rgba(0, 0, 0, 0.09);
        font-size: 20px;
    }

    .download-btn i {
        margin-right: 10px;
    }
</style>
<body>
<div class="center">
{{--    <div class="center-header">--}}
{{--        朋友邀请您入驻花县令啦~--}}
{{--    </div>--}}
{{--    <div class="invite-code">--}}
{{--        邀请码：100100--}}
{{--    </div>--}}
</div>
<div class="footer">
    <a href="http://itunes.apple.com/cn/app/id1461726830?mt=8" class="download-btn">
        <i class="fa fa-apple"></i>IOS下载
    </a>
    <a href="http://openbox.mobilem.360.cn/index/d/sid/4149324" class="download-btn">
        <i class="fa fa-android"></i>Android
    </a>
</div>
</body>
<script src="https://cdn.bootcss.com/jquery/3.4.1/jquery.min.js"></script>
<script>
    $(document).ready(function () {
        setCenterStyle();

    })

    //设置邀请码框样式
    function setCenterStyle() {
        // 高度
        var center_width = $('.center').width();
        var center_height = (220 * center_width) / 300;
        $('.center').height(center_height);

        // 上边距
        var center_margin_top = (634 * 55) / center_height;
        $('.center').css('marginTop', center_margin_top-30 + 'px');

    }
</script>
</html>